<?php

use yii\symfonymailer\Mailer;
use yii\web\JsonParser;

$config = [
    'components' => [
        'request' => [
            'cookieValidationKey' => 'axzoL3hScKXhQzb-QNrA75YJw5mrG_12',
            'baseUrl' => '',
            'enableCookieValidation' => false,
            'parsers' => [
                'application/json' => JsonParser::class,
            ],
        ],
        'mailer' => [
            'class' => \yii\symfonymailer\Mailer::class,
            'viewPath' => '@app/mail',
            // send all mails to a file by default.
            'useFileTransport' => true,
        ]
    ]
];

return $config;
